﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XTeam.Core.Abstract;
using System.Data.Entity;
using XTeam.Document.Factory.DataAccessInterface;
using XTeam.Document.Entities.Words;
using System.Data.Entity.Infrastructure;
using XTeam.Core.Interface;
using MongoDB.Driver.Builders;
using MongoDB.Driver.GridFS;
using MongoDB.Driver.Linq;
using MongoDB.Driver;


namespace XTeam.Documents.DataAccess
{
    public class WordsDataAccessMongoDB : MongoDBCore, IWordsDataAccess
    {
        private MongoDBContext _mongoDB;
        protected override MongoDBContext CreateDb()
        {
            _mongoDB = _mongoDB ?? new MongoDB();
            return _mongoDB;
        }

    }


}
